/*    */ package com.zimbra.cs.service.admin;
/*    */ 
/*    */ import com.zimbra.common.localconfig.ConfigException;
/*    */ import com.zimbra.common.localconfig.LC;
/*    */ import com.zimbra.common.service.ServiceException;
/*    */ import com.zimbra.common.soap.Element;
/*    */ import com.zimbra.common.util.Log;
/*    */ import com.zimbra.common.util.ZimbraLog;
/*    */ import com.zimbra.soap.ZimbraSoapContext;
/*    */ import com.zimbra.soap.admin.message.ReloadLocalConfigResponse;
/*    */ import java.util.Map;
/*    */ import org.dom4j.DocumentException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public final class ReloadLocalConfig
/*    */   extends AdminDocumentHandler
/*    */ {
/*    */   public Element handle(Element request, Map<String, Object> context)
/*    */     throws ServiceException
/*    */   {
/*    */     try
/*    */     {
/*    */       
/*    */     }
/*    */     catch (DocumentException e)
/*    */     {
/* 49 */       ZimbraLog.misc.error("Failed to reload LocalConfig", e);
/* 50 */       throw AdminServiceException.FAILURE("Failed to reload LocalConfig", e);
/*    */     } catch (ConfigException e) {
/* 52 */       ZimbraLog.misc.error("Failed to reload LocalConfig", e);
/* 53 */       throw AdminServiceException.FAILURE("Failed to reload LocalConfig", e);
/*    */     }
/* 55 */     ZimbraLog.misc.info("LocalConfig reloaded");
/*    */     
/* 57 */     ZimbraSoapContext zsc = getZimbraSoapContext(context);
/* 58 */     return zsc.jaxbToElement(new ReloadLocalConfigResponse());
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/service/admin/ReloadLocalConfig.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */